package com.lou1052.redis.config;

/**
 * 集群配置
 * Created with IntelliJ IDEA.
 * User: liuqing
 * Date: 2015/9/27
 * Time: 21:43
 * To change this template use File | Settings | File Templates.
 */
public class ClusterConfig {

    private final int timeout;

    private final int maxRedirections;

    public ClusterConfig(int timeout,int maxRedirections){
        this.timeout=timeout;
        this.maxRedirections=maxRedirections;
    }

    /**
     * Getter for property 'timeout'.
     *
     * @return Value for property 'timeout'.
     */
    public int getTimeout() {
        return timeout;
    }

    /**
     * Getter for property 'maxRedirections'.
     *
     * @return Value for property 'maxRedirections'.
     */
    public int getMaxRedirections() {
        return maxRedirections;
    }

}
